<!doctype html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns:v-on="http://www.w3.org/1999/xhtml" xmlns:v-model="http://www.w3.org/1999/xhtml" xmlns:v-demo="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>

<div id="app">

</div>


</body>
<script src="../../vender/vue@2.4.2.js"></script>

<script>
    //定义一个混合对象
    Vue.mixin({
        created: function () {
            if(this.$options.myOption)console.log(this.$options.myOption);
        }
    });

    var app=new Vue({
        myOption:'Hello myOption!'
    });

</script>
</html>